package com.space.school.domain;

import java.util.Date;

public class Detail {

    private String detail_id;
    private String order_id;
    private String product_id;
    private Date create_time;
    private Date update_time;
    private int product_num;

    public Detail() {
    }

    public Detail(String detail_id, String order_id, String product_id, Date create_time, Date update_time, int product_num) {
        this.detail_id = detail_id;
        this.order_id = order_id;
        this.product_id = product_id;
        this.create_time = create_time;
        this.update_time = update_time;
        this.product_num = product_num;
    }

    public String getDetail_id() {
        return detail_id;
    }

    public void setDetail_id(String detail_id) {
        this.detail_id = detail_id;
    }

    public String getOrder_id() {
        return order_id;
    }

    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public int getProduct_num() {
        return product_num;
    }

    public void setProduct_num(int product_num) {
        this.product_num = product_num;
    }

    @Override
    public String toString() {
        return "Detail{" +
                "detail_id='" + detail_id + '\'' +
                ", order_id='" + order_id + '\'' +
                ", product_id='" + product_id + '\'' +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                ", product_num=" + product_num +
                '}';
    }
}
